function [elements,processInfo] = FinalizeSolutionStep...
        (elements,model,processInfo)
ne = model.countElements();
for i=1:ne
    e = model.getElement(i-1);
    ng = e.getNumGaussPoint();
    for j=1:ng
        elements(i).alpha_old(j) = elements(i).alpha(j);
        elements(i).beta_old(:,j) = elements(i).beta(:,j);
        elements(i).ep_old(:,j) = elements(i).ep(:,j);
    end
end
end
